package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class LlExchangePhoneRequest {

    @ApiModelProperty("旧手机号")
    @NotBlank(message = "旧手机号不能为空")
    private String oldPhone;

    @ApiModelProperty("新手机号")
    @NotBlank(message = "新手机号不能为空")
    private String newPhone;

    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty("随机因子")
    @NotBlank(message = "随机因子不能为空")
    private String randomKey;



}
